import request from '@/utils/request'

/**
 * 工位模块
 */
export const stationInfo = data => {
  return request({
    url: '/configuration/station/info',
    method: 'POST',
    data
  })
}
/**
 * 添加
 */
export const addStationSave = (data) => {
  return request({
    url: '/configuration/station/info',
    method: 'POST',
    data
  })
}
/**
 * 修改
 */
export const stationUpdate = (data) => {
  return request({
    url: '/configuration/station/update',
    method: 'POST',
    data
  })
}

/**
 * 删除
 */
export const removeStation = (data) => {
  return request({
    url: '/configuration/station/remove',
    method: 'POST',
    data
  })
}
